<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
        content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../../lib/Validform/5.3.2/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/Project.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/jedate.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../../lib/DD_belatedPNG_0.0.8a-min.js?rev=@@hash"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/custom.css" />
    <link rel="stylesheet" href="../../../lib/select2-4.0.3/dist/css/select2.min.css">
    <title>渠道消息管理</title>
    <style>
        .dataTables_wrapper {
            background-color: #fff;
            min-height: 70px;
        }

        .M-box3 {
            padding: 20px;
        }

        table.dataTable thead .sorting_asc {
            background-image: none;
        }

        .channelFailReason-text {
            min-width: 200px;
            position: absolute;
            border: 1px solid rgb(165, 165, 165);
            left: 55px;
            background-color: #f0f0f0;
            display: none;
            padding: 5px;
            color: red;
        }

        .select2-container {
            text-align: left;
        }
    </style>
</head>

<body data-id="676">
    <nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span>对接平台管理<span
            class="c-gray en">&gt;</span> 渠道消息管理
        <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px"
            href="javascript:location.replace(location.href);" title="刷新">
            <i class="Hui-iconfont">&#xe68f;</i>
        </a>
    </nav>
    <article class="page-container">
        <form class="" id="form-member" method="post">
            <div class="bg-1 bk-gray pb-10">
                <div class="lh-30 mb-10 clearfix  mt-10">
                    <table class="table_li mb-10 table">
                        <thead class="text-l">
                            <tr id="selectPlatformId">
                                <td class="col-4-1">
                                    <div class="row ml-10" id="platformSkuCode">
                                        <label class="form-label f-l text-r w-72">选择渠道商：</label>
                                        <div class="formControls col-sm-8">
                                            <select class="select-box select radius" id="parentCustomerId" size="1">
                                                <option value="0" selected>请选择</option>
                                            </select>
                                        </div>
                                    </div>
                                </td>
                                <td class="col-4-1">
                                    <div class="row ml-10">
                                        <label class="form-label f-l text-r w-72">消息类型：</label>
                                        <div class="formControls col-sm-8">
                                            <select class="select-box select radius" id="eventType" size="1">
                                                <option value="">全部</option>
                                                <option value="2">商品价格变更</option>
                                                <option value="4">商品上下架</option>
                                                <option value="6">商品新增删除</option>
                                                <option value="16">商品信息变更</option>
                                                <option value="1">拆分订单通知</option>
                                                <option value="101">拆分发货单通知</option>
                                                <option value="3">订单状态变更</option>
                                                <option value="5">订单妥投拒收</option>
                                                <option value="10">订单取消通知</option>
                                                <option value="8">售后状态变更</option>
                                                <option value="9">维修服务变更</option>
                                                <option value="17">赠品促销变更</option>
                                                <option value="7">发票信息推送</option>
                                                <option value="200">地址基本信息变更</option>
                                                <option value="700">加盟商变更</option>
                                            </select>
                                        </div>
                                    </div>
                                </td>
                                <td class="col-4-1">
                                    <div class="row ml-10">
                                        <label class="form-label f-l w-72 text-r">关键词：</label>
                                        <div class="formControls col-sm-8">
                                            <input type="text" class="input-text radius" id="eventData"
                                                placeholder="关键词" ignore="ignore">
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="col-4-1">
                                    <div class="row ml-10">
                                        <label class="form-label f-l text-r w-72">读取状态：</label>
                                        <div class="formControls col-sm-8">
                                            <select class="select-box select radius" id="eventStatus" size="1">
                                                <option value="" selected>全部</option>
                                                <option value="10">未读取</option>
                                                <option value="20">已读取</option>
                                                <option value="30">处理失败</option>
                                                <option value="40">已取消</option>
                                            </select>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </thead>
                    </table>
                </div>

                <div class="text-c pt-10 pb-15" style="position: relative;">
                    <input type="button" class="btn btn-secondary radius size-S" onclick="queryMessageList()"
                        value="搜&nbsp;&nbsp;索">
                    <input name="" type="button" class="btn radius size-S ml-10"
                        onclick="javascript:location.replace(location.href);" value="重&nbsp;&nbsp;置">
                </div>
            </div>
        </form>
        <!-- 表格渲染 -->
        <table class="table table-border table-bg table-hover mt-10" id="shanDataTable">
            <thead>
                <tr class="text-c">
                    <th class="w-120">消息id</th>
                    <th class="w-100">消息类型</th>
                    <th class="w-100">消息内容</th>
                    <th class="w-100">创建时间</th>
                    <th class="w-100">消息状态</th>
                    <th class="w-100">更新时间</th>
                    <th class="w-100">渠道信息</th>
                    <th class="w-100">调用数次</th>
                    <th class="w-120">操作</th>
                </tr>
            </thead>
            <tbody class="shun">
            </tbody>
        </table>
    </article>
    <div class="dataTables_wrapper">
        <div class="f-r pageturning M-box3"></div>
        <input type="hidden" name="pageNum">
    </div>
    <div id="normal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="ture"
        style="border-radius: 8px;">
        <div class="modal-dialog">
            <div class="modal-content radius">
                <div class="modal-header">
                    <h3 class="modal-title">请输入您要关联的SKU编码</h3>
                    <a class="close" style="margin-right: 5px;width: 22px;height: 22px;margin-top: 5px"
                        data-dismiss="modal" aria-hidden="true">×</a>
                </div>
                <input type="hidden" class="ship_add_id">
                <div class="pop_win material_product">
                    <div class="info">
                        <input type="hidden" name="channelImportantSkuId" value="">
                        <div class="clearfix" style="padding: 15px 0px 15px 25%;">
                            <input name="relevance-skuCode" type="text" placeholder="请输入鑫方盛SKU编码"
                                class="input-text radius mr-20" style="width: 50%;">
                            <a href="javascript:0;" onclick="relevanceProduct()">获取</a>
                            <br>
                            <span class="mt-10" style="display:inline-block;" id="relevance-pro-info"></span>
                        </div>
                        <div class="clearfix" style="padding: 15px 0px 15px 25%;">
                            <input class="btn btn-primary radius material_button" type="button" value="取消"
                                onclick="javascript:$('#normal').modal('hide');">
                            <input class="btn btn-primary radius material_button" type="button" value="提交"
                                onclick="submit_RelevanceProduct()">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--_footer 作为公共模版分离出去-->
    <script type="text/javascript" src="../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script>
    <!--/_footer 作为公共模版分离出去-->
    <!--请在下方写此页面业务相关的脚本-->
    <script type="text/javascript" src="../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/jquery.jedate.min.js?rev=@@hash"></script>
    <!--表单验证-->
    <script type="text/javascript" src="../../../lib/Validform/5.3.2/Validform_v5.3.2_min.js?rev=@@hash"></script>
    <script src="../../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
    <!--<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>-->
    <script type="text/javascript" src="../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash">
    </script>
    <script type="text/javascript" src="../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
    <script src="../../../ht-js/frame/doT.min.js?rev=@@hash"></script>
    <!--引入分页-->
    <link rel="stylesheet" href="../../../lib/pagination/pagination.css">
    <script src="../../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
    <script src="../../../ht-js/public.js?rev=@@hash"></script>
    <!--验证token-->
    <script src="../../../ht-js/verifyToken.js?rev=@@hash"></script>
    <script src="../../../ht-js/timeFormat.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../ht-js/power.js?rev=@@hash"></script>
    <script src="../../../ht-js/dockingplatform/messageManagement/messageList.js"></script>
    <script type="text/javascript" src="../../../lib/select2-4.0.3/dist/js/select2.full.min.js"></script>
    <script type="text/javascript">
        $(function () {
            $('#parentCustomerId').select2({});
        });
    </script>
</body>

</html>